Optimal. Leaf size=214 \[ -\frac{c^{3/2} \sqrt{a+b x^2} \text{EllipticF}\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right ),1-\frac{b c}{a d}\right )}{a \sqrt{d} \sqrt{-c-d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}-\frac{d x \sqrt{a+b x^2}}{b \sqrt{-c-d x^2}}+\frac{\sqrt{c} \sqrt{d} \sqrt{a+b x^2} E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{b \sqrt{-c-d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0955676, antiderivative size = 214, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {422, 418, 492, 411} \[ -\frac{c^{3/2} \sqrt{a+b x^2} F\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{a \sqrt{d} \sqrt{-c-d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}-\frac{d x \sqrt{a+b x^2}}{b \sqrt{-c-d x^2}}+\frac{\sqrt{c} \sqrt{d} \sqrt{a+b x^2} E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{b \sqrt{-c-d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 422
Rule 418
Rule 492
Rule 411
Rubi steps
\begin{align*} \int \frac{\sqrt{-c-d x^2}}{\sqrt{a+b x^2}} \, dx &=-\left (c \int \frac{1}{\sqrt{a+b x^2} \sqrt{-c-d x^2}} \, dx\right )-d \int \frac{x^2}{\sqrt{a+b x^2} \sqrt{-c-d x^2}} \, dx\\ &=-\frac{d x \sqrt{a+b x^2}}{b \sqrt{-c-d x^2}}-\frac{c^{3/2} \sqrt{a+b x^2} F\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{a \sqrt{d} \sqrt{-c-d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}-\frac{(c d) \int \frac{\sqrt{a+b x^2}}{\left (-c-d x^2\right )^{3/2}} \, dx}{b}\\ &=-\frac{d x \sqrt{a+b x^2}}{b \sqrt{-c-d x^2}}+\frac{\sqrt{c} \sqrt{d} \sqrt{a+b x^2} E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{b \sqrt{-c-d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}-\frac{c^{3/2} \sqrt{a+b x^2} F\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{a \sqrt{d} \sqrt{-c-d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\\ \end{align*}
Mathematica [A] time = 0.0446347, size = 89, normalized size = 0.42 \[ \frac{\sqrt{\frac{a+b x^2}{a}} \sqrt{-c-d x^2} E\left (\sin ^{-1}\left (\sqrt{-\frac{b}{a}} x\right )|\frac{a d}{b c}\right )}{\sqrt{-\frac{b}{a}} \sqrt{a+b x^2} \sqrt{\frac{c+d x^2}{c}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 161, normalized size = 0.8 \begin{align*}{\frac{1}{ \left ( bd{x}^{4}+ad{x}^{2}+bc{x}^{2}+ac \right ) b} \left ( -ad{\it EllipticF} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{bc}{ad}}} \right ) +c{\it EllipticF} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{bc}{ad}}} \right ) b+ad{\it EllipticE} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{bc}{ad}}} \right ) \right ) \sqrt{-d{x}^{2}-c}\sqrt{b{x}^{2}+a}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{b{x}^{2}+a}{a}}}{\frac{1}{\sqrt{-{\frac{d}{c}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-d x^{2} - c}}{\sqrt{b x^{2} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-d x^{2} - c}}{\sqrt{b x^{2} + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- c - d x^{2}}}{\sqrt{a + b x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-d x^{2} - c}}{\sqrt{b x^{2} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]